/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pasodatos;

import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;


public class ProgramaPrincipal extends Application {

    @Override
    public void start(Stage primaryStage) {

        try {
                primaryStage.setTitle("Copiar datos");
                Parent root = FXMLLoader.load(getClass().getResource("/ventanas/VentanaPrincipalFXML.fxml"));
                Scene scene = new Scene(root);
                primaryStage.setScene(scene);
                primaryStage.show();
                
        } catch (IOException ex) {
            Logger.getLogger(ProgramaPrincipal.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
        /**
         * The main() method is ignored in correctly deployed JavaFX
         * application. main() serves only as fallback in case the application
         * can not be launched through deployment artifacts, e.g., in IDEs with
         * limited FX support. NetBeans ignores main().
         *
         * @param args the command line arguments
         */
    

    public static void main(String[] args) {
        launch(args);
    }
}
